﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [Table("NodePointContacts")]
    public class NodePointContacts
    {
        [Key(), Column(Order = 1)]
        public Guid NodePointID { get; set; }
        [Key(), Column(Order = 2)]
        public Guid ContactID { get; set; }
        [ForeignKey("NodePointID")]
        public virtual ProjectNodePoint ProjectNodePointItem { get; set; }
        [ForeignKey("ContactID")]
        public virtual Contacts ContactsItem { get; set; }
    }
}
